using System;

namespace Slaks.Filters.Description
{
	/// <summary>
	/// Description of the specific implementation of ReaderDescriptionAttribute
	/// </summary>
	[AttributeUsage(System.AttributeTargets.Class,
                  AllowMultiple = false, Inherited = false) ]
	public class FilterDescriptionAttribute:System.Attribute
	{
    /// <summary>
    /// Holds description of the Dbase implementation
    /// </summary>
    private string m_description;
    private string m_author;

    /// <summary>
    /// Constructor
    /// </summary>
    /// <param name="description">the description of the Filter implementation</param>
		public FilterDescriptionAttribute(string description,string author)
		{
		  	m_description = description;
        m_author = author;
		}

    /// <summary>
    /// Get description of Filter implementation
    /// </summary>
    /// <returns></returns>
    public string GetDescription() { return m_description; }

    /// <summary>
    /// Get author of the implementation
    /// </summary>
    /// <returns></returns>
    public string GetAuthor() { return m_author; }

	}
}
